package org.maitaole.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class TbCategoryBrand {
    @TableId(type = IdType.AUTO)
    private Integer categoryBrandId;

    private Integer fkCategoryId;

    private Integer fkBrandId;

    public Integer getCategoryBrandId() {
        return categoryBrandId;
    }

    public void setCategoryBrandId(Integer categoryBrandId) {
        this.categoryBrandId = categoryBrandId;
    }

    public Integer getFkCategoryId() {
        return fkCategoryId;
    }

    public void setFkCategoryId(Integer fkCategoryId) {
        this.fkCategoryId = fkCategoryId;
    }

    public Integer getFkBrandId() {
        return fkBrandId;
    }

    public void setFkBrandId(Integer fkBrandId) {
        this.fkBrandId = fkBrandId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", categoryBrandId=").append(categoryBrandId);
        sb.append(", fkCategoryId=").append(fkCategoryId);
        sb.append(", fkBrandId=").append(fkBrandId);
        sb.append("]");
        return sb.toString();
    }
}